<form class="layui-form layui-form-pane" lay-filter="FormSysUserAdd" action="/sys/user/add">
    <input type="hidden" id="gid" name="gid" th:value="${gid}">
    <div class="layui-row p-l-sm m-b-xl">
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input-detail('text','所属系统','layui-col-md4',${sysSystem.systemName})"></div>
            <div th:replace="common/plugin :: pa-form-input-detail('text','所属角色','layui-col-md4',${sysGroup.groupName})"></div>
            <div th:replace="common/plugin :: pa-form-input-detail('text','父资源','layui-col-md4',${nick})"></div>
        </div>
        <div class="hr-line-dashed m-r m-t"></div>
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','登录账户(*)','loginName','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','账户昵称(*)','userNick','layui-col-md6',32,'required','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','手机号码(*)','userPhone','layui-col-md6',32,'required|phone','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','用户邮箱(*)','userEmail','layui-col-md6',128,'required|email','')"></div>
        </div>
        <div class="hr-line-dashed m-r m-t"></div>
        <div class="layui-row">
            <div th:replace="common/plugin :: pa-form-input('text','关联代理商','mappingId','layui-col-md6',32,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','关联商户','mappingUserId','layui-col-md6',32,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','关联合作商','mappingSpId','layui-col-md6',32,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','关联通道','mappingChannelId','layui-col-md6',32,'','')"></div>
            <div th:replace="common/plugin :: pa-form-input('text','关联代理','mappingAgentId','layui-col-md6',32,'','')"></div>
        </div>
    </div>
</form>
<script>
    layui.use('form', function () {
        let form = layui.form;
        form.render();
    });
</script>